﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录</title>
<style type="text/css">
{literal}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size:12px;
    color:#CD4C0F;
    background:#fff;
    text-align:center;

}

* {
    margin:0;
    padding:0;
}

a {
    color:#CD4C0F;
    text-decoration:none;    
}

a:hover {
    color:#CD4C0F;
    text-decoration:underline;
}
h3 {
    font-size:14px;
    font-weight:bold;
}

pre,p {
    color:#CD4C0F;
    margin:4px;
}
input, select,textarea {
    padding:1px;
    margin:2px;
    font-size:11px;
}
.buttom{
    padding:1px 10px;
    font-size:12px;
    border:1px #CD4C0F solid;
    background:#FFFFFF;
}
#formwrapper {
    width:450px;
    margin:15px auto;
    padding:20px;
    text-align:left;
    //border:1px #CD4C0F solid;
}

fieldset {
    padding:10px;
    margin-top:5px;
    border:1px solid #CD4C0F;
    background:#fff;
}

fieldset legend {
    color:#1E7ACE;
    font-weight:bold;
    padding:3px 20px 3px 20px;
    border:1px solid #CD4C0F;    
    background:#fff;
}

fieldset label {
    float:left;
    width:120px;
    text-align:right;
    padding:4px;
    margin:1px;
}

fieldset div {
    clear:left;
    margin-bottom:2px;
}

.enter{ text-align:center;}
.clear {
    clear:both;
}
{/literal}

<script   language=javascript   type=text/javascript>   
{literal}
 function   fGetCode()
{   
alert("test");
document.getElementById('checkImg').src='yz.php';          
}   
{/literal}
</script> 


</style>
</head>

<body>
<div id="formwrapper">
<h3 align="center"><span style="color:red">{$notice}</span></h3>
<h3></h3>
    <form action="{$projectUrl}/user/login.php?url={$currentUrl}" method="post" name="apLogin" id="apLogin">
    <input type="hidden" name="userloginaction" id="userloginaction" value="login"/>
    <fieldset>
        <legend><span style="color:#CD4C0F">用户登录</span></legend>
        <div>
            <label for="Name">学号</label>
            <input type="text" name="Name" id="Name" size="18" maxlength="50" /><br />
        </div>
        <div>
            <label for="password">密码</label>
            <input type="password" name="password" id="password" size="18" maxlength="15" /><br />
        </div>

        <div>
            <label for="confirm">验证码</label>
            <input type="text" name="code" id="code" size="18" maxlength="15" /><img id="checkImg" src="yz.php" align="absmiddle" onclick="this.src='yz.php'"/><br />
        </div>

        <div class="cookiechk">
            <label><!--<a href="#" title="选择是否记录您的信息">记住我</a>--></label>
            <input name="login" type="submit" class="buttom" value="登录" />
        </div>    
        <div class="forgotpass">忘记密码请找管理员</a></div>    
    </fieldset>
    </form><br />
</div>
</body>
</html>
